package com.zhiche.lisa.bms.dao.model.statistics;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 运单统计表
 * </p>
 *
 * @author liangpeng
 * @since 2019-03-01
 */
@TableName("lisa_static_waybill")
public class StaticWaybill extends Model<StaticWaybill> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 调度指令号
     */
	@TableField("shipment_code")
	private String shipmentCode;
    /**
     * 系统运单号
     */
	@TableField("sys_waybill_id")
	private String sysWaybillId;
    /**
     * 系统订单号
     */
	@TableField("sys_order_id")
	private String sysOrderId;
    /**
     * 客户运单号
     */
	@TableField("cust_waybill_id")
	private String custWaybillId;
    /**
     * 发运日期
     */
	@TableField("despatch_date")
	private Date despatchDate;
    /**
     * 运输方式
     */
	@TableField("transport_mode")
	private String transportMode;
    /**
     * 分供方ID
     */
	@TableField("lsp_id")
	private String lspId;
    /**
     * 分供方
     */
	private String lsp;
    /**
     * 车队ID
     */
	@TableField("feelt_id")
	private String feeltId;
    /**
     * 车队
     */
	private String fleet;
    /**
     * 车牌号码
     */
	private String plate;
    /**
     * 车型
     */
	private String carTypeName;
    /**
     * 数量
     */
	private Integer num;
    /**
     * 起运地
     */
	@TableField("start_addr")
	private String startAddr;
    /**
     * 目的地
     */
	@TableField("end_addr")
	private String endAddr;
    /**
     * 目的省份
     */
	@TableField("end_province")
	private String endProvince;
	/**
	 * 当前节点
	 */
	@TableField("order_release_type")
	private String orderReleaseType;
    /**
     * 运单状态
     */
	private String status;
    /**
     * 回单状态
     */
	@TableField("pod_status")
	private String podStatus;
    /**
     * 创建时间
     */
	@TableField("gmt_create")
	private Date gmtCreate;
    /**
     * 更新时间
     */
	@TableField("gmt_modify")
	private Date gmtModify;
    /**
     * 处理状态
     */
	@TableField("deal_status")
	private Integer dealStatus;
    /**
     * 处理时间
     */
	@TableField("deal_time")
	private Date dealTime;
    /**
     * 来源
     */
	private String domain;
    /**
     * 是否删除
     */
	@TableField("is_delete")
	private Integer isDelete;
    /**
     * 删除标志
     */
	@TableField("cancel_flag")
	private String cancelFlag;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getShipmentCode() {
		return shipmentCode;
	}

	public void setShipmentCode(String shipmentCode) {
		this.shipmentCode = shipmentCode;
	}

	public String getSysWaybillId() {
		return sysWaybillId;
	}

	public void setSysWaybillId(String sysWaybillId) {
		this.sysWaybillId = sysWaybillId;
	}

	public String getSysOrderId() {
		return sysOrderId;
	}

	public void setSysOrderId(String sysOrderId) {
		this.sysOrderId = sysOrderId;
	}

	public String getCustWaybillId() {
		return custWaybillId;
	}

	public void setCustWaybillId(String custWaybillId) {
		this.custWaybillId = custWaybillId;
	}

	public Date getDespatchDate() {
		return despatchDate;
	}

	public void setDespatchDate(Date despatchDate) {
		this.despatchDate = despatchDate;
	}

	public String getTransportMode() {
		return transportMode;
	}

	public void setTransportMode(String transportMode) {
		this.transportMode = transportMode;
	}

	public String getLspId() {
		return lspId;
	}

	public void setLspId(String lspId) {
		this.lspId = lspId;
	}

	public String getLsp() {
		return lsp;
	}

	public void setLsp(String lsp) {
		this.lsp = lsp;
	}

	public String getFeeltId() {
		return feeltId;
	}

	public void setFeeltId(String feeltId) {
		this.feeltId = feeltId;
	}

	public String getFleet() {
		return fleet;
	}

	public void setFleet(String fleet) {
		this.fleet = fleet;
	}

	public String getPlate() {
		return plate;
	}

	public void setPlate(String plate) {
		this.plate = plate;
	}

	public String getCarTypeName() {
		return carTypeName;
	}

	public void setCarTypeName(String carTypeName) {
		this.carTypeName = carTypeName;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public String getStartAddr() {
		return startAddr;
	}

	public void setStartAddr(String startAddr) {
		this.startAddr = startAddr;
	}

	public String getEndAddr() {
		return endAddr;
	}

	public void setEndAddr(String endAddr) {
		this.endAddr = endAddr;
	}

	public String getEndProvince() {
		return endProvince;
	}

	public void setEndProvince(String endProvince) {
		this.endProvince = endProvince;
	}

	public String getOrderReleaseType() {
		return orderReleaseType;
	}

	public void setOrderReleaseType(String orderReleaseType) {
		this.orderReleaseType = orderReleaseType;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getPodStatus() {
		return podStatus;
	}

	public void setPodStatus(String podStatus) {
		this.podStatus = podStatus;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModify() {
		return gmtModify;
	}

	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

	public Integer getDealStatus() {
		return dealStatus;
	}

	public void setDealStatus(Integer dealStatus) {
		this.dealStatus = dealStatus;
	}

	public Date getDealTime() {
		return dealTime;
	}

	public void setDealTime(Date dealTime) {
		this.dealTime = dealTime;
	}

	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public String getCancelFlag() {
		return cancelFlag;
	}

	public void setCancelFlag(String cancelFlag) {
		this.cancelFlag = cancelFlag;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "StaticWaybill{" +
			", id=" + id +
			", shipmentCode=" + shipmentCode +
			", sysWaybillId=" + sysWaybillId +
			", sysOrderId=" + sysOrderId +
			", custWaybillId=" + custWaybillId +
			", despatchDate=" + despatchDate +
			", transportMode=" + transportMode +
			", lspId=" + lspId +
			", lsp=" + lsp +
			", feeltId=" + feeltId +
			", fleet=" + fleet +
			", plate=" + plate +
			", carTypeName=" + carTypeName +
			", num=" + num +
			", startAddr=" + startAddr +
			", endAddr=" + endAddr +
			", endProvince=" + endProvince +
			", status=" + status +
			", podStatus=" + podStatus +
			", gmtCreate=" + gmtCreate +
			", gmtModify=" + gmtModify +
			", dealStatus=" + dealStatus +
			", dealTime=" + dealTime +
			", domain=" + domain +
			", isDelete=" + isDelete +
			", cancelFlag=" + cancelFlag +
			"}";
	}
}
